package main;

import main.MyAnnotations.Column;
import main.MyAnnotations.ColumnId;

public class Workers {
	@Column (columnName = "name")
	public String name;
	
	@Column (columnName = "surname")
	public String surname;
	
	@Column (columnName = "age")
	public int age;
	
	@Column (columnName = "salary")
	public int salary;
	
	@ColumnId
	@Column (columnName = "id")
	public int id;
	
	public String get_name() {
		return name;
	}
	public void set_name(String _name) {
		this.name = _name;
	}
	public String get_surname() {
		return surname;
	}
	public void set_surname(String _surname) {
		this.surname = _surname;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public int getSalary() {
		return salary;
	}
	public void setSalary(int salary) {
		this.salary = salary;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	

}
